Skip to content

Reworked HiFreq_ADC example; Closing #6832 #6917

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 6, 2022

Conversation

PilnyTomas
Copy link
Contributor

@PilnyTomas PilnyTomas commented Jun 27, 2022

Description of Change

Original code does not work (crashing) - related issue #6832 - now fixed.
Extended description to be more helpful.
Added options to modify the setup at the top of the code via constants.
Added option do plot with Arduino Serial plotter.
Even if the crashing was solved alone the ledc PWM would not output any signal.

Tests scenarios

Tested on ESP32 with oscilloscope and signal generator.

Related links

Closes #6832

@lbernstone
Copy link
Contributor

A comment at the top that it is esp32 only will probably prevent some issues.

@PilnyTomas
Copy link
Contributor Author

A comment at the top that it is esp32 only will probably prevent some issues.

I don't understand, what do you mean?

@me-no-dev
Copy link
Member

@PilnyTomas can this example be based on our new Arduino I2S lib?

@PilnyTomas
Copy link
Contributor Author

@PilnyTomas can this example be based on our new Arduino I2S lib?

It can, but our Arduino I2S is using an extra set of buffers and I'm afraid it could have a bad influence on speed.

@PilnyTomas PilnyTomas changed the title Reworked HiFreq_ADC example; Closing #6832 WIP; Reworked HiFreq_ADC example; Closing #6832 Jun 28, 2022
@VojtechBartoska VojtechBartoska added this to the 2.0.4 milestone Jun 29, 2022
@me-no-dev me-no-dev merged commit 1b1c36e into espressif:master Jul 6, 2022
@PilnyTomas PilnyTomas changed the title WIP; Reworked HiFreq_ADC example; Closing #6832 Reworked HiFreq_ADC example; Closing #6832 Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

The HiFreq_ADC Example Code cannot run.
4 participants